import request from "./index.js";
let webSer = process.env.VUE_APP_SERVICE_SERVE
//增加公告信息
export function addNoticeMessage(query) {
  return request({
    url:`${webSer}/addNoticeMessage`,
    method: "post",
    params: query,
  });
}
//删除公告信息
export function delNoticeMessage(query) {
  return request({
    url:`${webSer}/delNoticeMessage`,
    method: "post",
    params: query,
  });
}

//编辑公告信息
export function editNoticeMessage(query) {
  return request({
    url:`${webSer}/editNoticeMessage`,
    method: "post",
    params: query,
  });
}
//查看公告信息
export function lookNoticeMessage(query) {
    return request({
      url:`${webSer}/lookNoticeMessage`,
      method: "post",
      params: query,
    });
  }
